﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LogBookImporter.Implementation {
    public class LogBookCrawler {

        private static readonly string _logBookFilename = ConfigurationManager.AppSettings["LogBookFileName"];


        public static List<string> Crawl(string basePath) {
            return Directory.GetFiles(basePath, _logBookFilename, SearchOption.AllDirectories).ToList();
        }
    }
}
